package com.cmsz.shuang.booter.rpc;

import java.io.IOException;

/**
 * 连接器接口， 用于发送对象和接受对象
 * @author shuangzh
 *
 */
public interface Linker {
	void sendObject(Object object) throws IOException;	// 发送对象到对端
	Object receiveObject() throws ClassNotFoundException, IOException;			// 从对端读取对象
}
